package com.example.crm01.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.crm01.entity.Business;
import com.example.crm01.service.form.BaseIdForm;
import com.example.crm01.service.form.business.BusinessAddForm;
import com.example.crm01.service.form.business.BusinessListForm;


public interface BusinessService extends IService<Business> {

    Page<Business> businessList(BusinessListForm form);

    Boolean insertBusiness(BusinessAddForm form);

    Boolean updateBusiness(BusinessAddForm form);

    Boolean deleteBusiness(BaseIdForm form);

    Business detailsBusiness(BaseIdForm form);
}
